//
//  ToutiaoModel+HTML.m
//  BobNews
//
//  Created by lanou3g on 16/5/12.
//  Copyright © 2016年 liu. All rights reserved.
//

#import "ToutiaoModel+HTML.h"
#import <objc/message.h>
#import <objc/runtime.h>

static NSString const *key = @"HtmlStrKey";

@implementation ToutiaoModel (HTML)

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

- (void)setHtmlStr:(NSString *)htmlStr {
    objc_setAssociatedObject(self, (__bridge const void *)(key), htmlStr, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}

- (NSString *)htmlStr {
    return objc_getAssociatedObject(self, (__bridge const void *)(key));
}


@end
